<template>
	<view>
		<web-view v-if="fileName" :src="`https://silkscreen.file.zhhost.top/knowledge/${fileName}`"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				fileId: '',
				fileName: ''
			};
		},
		onLoad(opt) {
			this.fileId = opt.fileId||''
			this.fileName = opt.fileName
		}
	}
</script>

<style lang="scss">

</style>
